package com.jjc.MyWebApp.Service;

import com.jfinal.plugin.activerecord.Model;
import com.jjc.MyWebApp.Annotation.Service;

/**
 * Created by jiaji on 2017/5/11.
 */
@Service("baseService")
public abstract class BaseService {
    public abstract boolean insert(Model T);

    public abstract boolean update(Model T);

    public abstract boolean remove(String ID);

    public String toString() {
        return this.getClass().getSimpleName();
    }
}
